package com.pc.scrs.bean.vo.listVo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class CourseListVo {
    private Integer id;
    private String title;
    private String cover;
    private Integer lessonNum;
    private String SubjectName;
    private Integer status;
    private Integer enable;
    private Integer required;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
